package com.yorick.common.Result.impl;


import com.yorick.common.Result.Result;
import com.yorick.common.Result.ResultInterface;

import java.util.Map;

/**
 * @author 陈治杰
 * @Title: Failure
 * @Description:
 * @date 2019/1/215:27
 */
public class Failure extends Result implements ResultInterface {

    public Failure(String flag, String msg, Object obj) {
        super(flag, msg, obj);
    }
    public Failure() {
        super("0", "失败", null);
    }

    @Override
    public Map<String, Object> display() {
        return super.getResultMap();
    }
}
